import request from "../utils/request"

// 获取主分类数据
export const getCategorys = () => request.get('/api/tabs')

// 获取子分类数据
export const getSubCategorys = id => request.get('/api/tab/' + id)